package com.googlecode.horncomb.orm.dao;

import java.util.Collection;

import com.googlecode.horncomb.orm.support.order.Order;
import com.googlecode.horncomb.orm.support.paged.PagedList;

public interface EntityQueryDao<EntityType> {

	public Collection<EntityType> queryAll(Order order);

	public PagedList<? extends Collection<EntityType>> queryAll(Order order,
			int page, int pageSize);
}
